package com.example.demo.service;

import com.example.demo.Dto.DishDto;
import com.example.demo.common.pageResult;
import com.example.demo.entiy.Dish;

import java.util.List;

public interface DishServiceImp {
    pageResult<DishDto> getInfo(int page, int pagesize, String name);

    boolean deletedis(List<Long> id);

    boolean changeStatus(int status, List<Long> ids);


    int putInfo(DishDto dishDto);

    DishDto getDishInfo(Long id);

    int UpdataInfo(DishDto dishDto);

    List<Dish> getDishList(Long categoryid, String name);
}
